package com.bdzl.admin.service.data.impl;

import com.bdzl.pub.util.param.R;
import com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.data.FddCaPersonalDao;
import com.bdzl.pub.entity.data.FddCaPersonalDO;
import com.bdzl.admin.service.data.FddCaPersonalService;


@Service
public class FddCaPersonalServiceImpl implements FddCaPersonalService {
    @Autowired
    private FddCaPersonalDao fddCaPersonalDao;

    @Override
    public FddCaPersonalDO get(Integer capId) {
        return fddCaPersonalDao.get(capId);
    }

    @Override
    public List<FddCaPersonalDO> list(Map<String, Object> map) {
        return fddCaPersonalDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return fddCaPersonalDao.count(map);
    }

    @Override
    public int save(FddCaPersonalDO fddCaPersonal) {
        return fddCaPersonalDao.save(fddCaPersonal);
    }

    @Override
    public int update(FddCaPersonalDO fddCaPersonal) {
        return fddCaPersonalDao.update(fddCaPersonal);
    }

    @Override
    public int remove(Integer capId) {
        return fddCaPersonalDao.remove(capId);
    }

    @Override
    public int batchRemove(Integer[] capIds) {
        return fddCaPersonalDao.batchRemove(capIds);
    }

}
